package com.baiqian.doupo.block.lian_yao_ding;

import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.state.properties.BlockStateProperties;

import java.util.function.ToIntFunction;

public abstract class LianYaoDing  extends Block {

    protected static ToIntFunction<BlockState> getLightValueLit(int lightValue) {
        return (state) -> state.get(BlockStateProperties.LIT) ? lightValue : 0;
    }

    public LianYaoDing(Properties properties) {
        super(properties);
    }
}

